package com.advertise.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name ="systemconfig")
public class SystemConfig {
	private int id;
	private int standSlot;
	private int standLoop;
	private double standPrice;
	private double discount;
	
	@Id
	@Column(name="id" ,unique=true, nullable = false)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	@Column(name="standSlot")
	public int getStandSlot() {
		return standSlot;
	}
	public void setStandSlot(int standSlot) {
		this.standSlot = standSlot;
	}
	
	@Column(name="standLoop")
	public int getStandLoop() {
		return standLoop;
	}
	public void setStandLoop(int standLoop) {
		this.standLoop = standLoop;
	}
	
	@Column(name="standPrice")
	public double getStandPrice() {
		return standPrice;
	}
	public void setStandPrice(double standPrice) {
		this.standPrice = standPrice;
	}
	
	@Column(name="discount")
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	
	
}
